<script setup>

</script>

<template>
  <div class="notice-container">
    <!-- 标题栏 -->
    <div class="title-bar">
      <div class="blue-line"></div>
      <h2>政策文件</h2>
    </div>

    <!-- 内容区域 -->
    <div class="content-box">
      <img src="@/assets/card-background/暂无.webp" class="policy-icon" alt="暂无">
      <div class="none-txt">暂无政策文件</div>
    </div>
  </div>
</template>

<style scoped>
.notice-container {
  width: 80%;
  margin: 0 10%;
  padding: 30px 0;
}

.title-bar {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.blue-line {
  width: 4px;
  height: 24px;
  background: #3b82f6;
  margin-right: 12px;
}

.title-bar h2 {
  font-size: 20px;
  color: #1e3a8a;
  margin: 0;
}

.content-box {
  background: white;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;

  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.policy-icon {
  opacity: 0.6;
  margin-bottom: 25px; /* 与文字间距 */
}

.none-txt {
  font-size: 18px;
  color: #666;
  letter-spacing: 1px; /* 字间距微调 */
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 柔和阴影 */

  transition: all 0.3s ease; /* 动画效果 */
  transform: translateY(-10px); /* 微调垂直对齐 */
}

/* 鼠标悬停互动效果 */
.content-box:hover .policy-icon {
  opacity: 0.8;
  transform: scale(1.05);
}

.content-box:hover .none-txt {
  color: #444;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
</style>